package com.ms.service.module.common.timer;

import com.xpec.c4.service.module.common.CommonModule;
import com.xpec.c4.service.module.task.TaskTimer;

/**
 * 
 * @author brian_yang
 *
 */
public class OnceTaskTimer extends TaskTimer{

	@Override
	public void execute() {		
		if(this.getCallback() != null){
			if(this.getCallback() instanceof CommonModule){
				((CommonModule)this.getCallback()).startupOnce();
			}
		}
	}

}
